http-remote-services
This command configures the Remote Web Services table, which lets you define Web-based (HTTP/S) services provided by third-party, remote HTTP/S hosts.
Syntax
(config-system)# http-services (http-client-services)# http-remote-services <Index> (http-remote-services-<Index>)#
Command |
Description |
---|---|
Index |
Defines the table row index. |
http-login-needed {disable|enable} |
Enables the use of AudioCodes proprietary REST API Login and Logout commands for connecting to the remote host. |
http-persistent-connection {disable|enable} |
Configures whether the HTTP connection with the host remains open or is only opened per request. |
http-policy {round-robin|sticky-next|sticky-primary} |
Defines the mode of operation when you have configured multiple remote hosts (in the HTTP Remote Hosts table) for a specific remote Web service. |
http-policy-between-groups {sticky-primary|sticky-next} |
Defines the mode of operation between groups of hosts, which are configured in the HTTP Remote Hosts table for the specific remote Web service. |
http-remote-hosts |
Defines the HTTP Remote Hosts table, which lets you define remote HTTP hosts per Remote Web Service. The table is a "child" of the Remote Web Services table. For more information, see http-remote-hosts. |
rest-ka-timeout |
Defines the duration (in seconds) in which HTTP-REST keep-alive messages are sent by the device if no other messages are sent. |
rest-message-type {call-status|general|qos|registration-status|remote-monitoring|routing|topology-status} |
Defines the type of service provided by the HTTP remote host. |
rest-name |
Defines the name to easily identify the row. |
rest-password |
Defines the password for HTTP authentication. |
rest-path |
Defines the path (prefix) to the REST APIs. |
rest-timeout |
Defines the TCP response timeout (in seconds) from the remote host. |
rest-tls-context |
Assigns a TLS context (if HTTPS). |
rest-user-name |
Defines the username for HTTP authentication. |
rest-verify-certificates {disable|enable} |
Enables certificate verification when connection with the host is based on HTTPS. |
verify-cert-subject-name {disable|enable} |
Enables the verification of the TLS certificate subject name (Common Name / CN or Subject Alternative Name / SAN) when connection with the host is based on HTTPSthat is used in the incoming connection request from the OVOC server. |
Command Mode
Privileged User
Example
This example configures an HTTP service for routing:
(config-system)# http-services (http-client-services)# http-remote-services 0 (http-client-services-0)# rest-message-type routing (http-client-services-0)# rest-name ARM